package cn.wsn2018.tools.model.Log;

import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @program: tools
 * @description:错误日志
 * @author: songDaisong
 * @create: 2019-12-07 15:21
 **/

@Document("errorLogInfo")
public class ErrorLogInfo extends LogInfo{

    private String errorRunningInfo;
    private String moduleName;
    private String operatorType;
    private String machineName;

    public String getErrorRunningInfo() {
        return errorRunningInfo;
    }

    public void setErrorRunningInfo(String errorRunningInfo) {
        this.errorRunningInfo = errorRunningInfo;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public String getOperatorType() {
        return operatorType;
    }

    public void setOperatorType(String operatorType) {
        this.operatorType = operatorType;
    }

    public String getMachineName() {
        return machineName;
    }

    public void setMachineName(String machineName) {
        this.machineName = machineName;
    }

    @Override
    public String toString() {
        return "ErrorLogInfo{" +
                "errorRunningInfo='" + errorRunningInfo + '\'' +
                ", moduleName='" + moduleName + '\'' +
                ", operatorType='" + operatorType + '\'' +
                ", machineName='" + machineName + '\'' +
                ", id='" + id + '\'' +
                ", type='" + type + '\'' +
                ", createTime='" + createTime + '\'' +
                ", ipAddress='" + ipAddress + '\'' +
                ", userName='" + username + '\'' +
                '}';
    }
}
